
<table style="margin-top: 10px">
	<tr>
		<th width="40">序号</th>
		<th>日期</th>
		<th>分类</th>
		<th width="50%">用途</th>
		<th>金额</th>
	</tr>
	{[foreach name=outer key=key item=item from=$result.log]} 
	{[assign var="no" value="`$key+1`"]}
	{[assign var="t1" value="`$t1+$item.amount`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td>{[$no]}</td>
		<td>{[$item.date]}</td>
		<td>{[$item.type_t]}</td>
		<td>{[$item.name|truncate:31:"...":true]}</td>
		<td>{[$item.amount|money]}</td>
	</tr>
	{[/foreach]}
	<tr align="center">
		<td colspan="4"></td>
		<td width="80">{[$t1|money]}</td>
	</tr>
</table>
